package lab01;

/**
 * Created by Administrator on 2017/9/28.
 */
public class Test05dowhile {
    public static void main(String[] args) {
        int i=1,sum=0;
        do {
            sum=sum+i;
            i++;
            System.out.println(sum);
        }
        while (i>0);
    }
}
